<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private PreUnit data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public PreUnit getData(){
        return data;
    }

    public void setData(PreUnit data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class PreUnit implements Serializable{

    private long id; //id
    private long companyId; //多租户id
    private String code; //编号
    private String name; //名称
    private String model; //规格/型号
    private long preUnitTypeId; //备品备件类型设置id
    private long mngCtrDeptId; //管辖部门id
    private String lowestStock; //最低库存
    private String preUnitPrice; //备件单价
    private String remark; //备注
    private long creatorId; //添加人员id
    private String addTime; //添加时间

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public String getCode(){
        return code;
    }

    public void setCode(String code){
        this.code = code;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public String getModel(){
        return model;
    }

    public void setModel(String model){
        this.model = model;
    }

    public long getPreUnitTypeId(){
        return preUnitTypeId;
    }

    public void setPreUnitTypeId(long preUnitTypeId){
        this.preUnitTypeId = preUnitTypeId;
    }

    public long getMngCtrDeptId(){
        return mngCtrDeptId;
    }

    public void setMngCtrDeptId(long mngCtrDeptId){
        this.mngCtrDeptId = mngCtrDeptId;
    }

    public String getLowestStock(){
        return lowestStock;
    }

    public void setLowestStock(String lowestStock){
        this.lowestStock = lowestStock;
    }

    public String getPreUnitPrice(){
        return preUnitPrice;
    }

    public void setPreUnitPrice(String preUnitPrice){
        this.preUnitPrice = preUnitPrice;
    }

    public String getRemark(){
        return remark;
    }

    public void setRemark(String remark){
        this.remark = remark;
    }

    public long getCreatorId(){
        return creatorId;
    }

    public void setCreatorId(long creatorId){
        this.creatorId = creatorId;
    }

    public String getAddTime(){
        return addTime;
    }

    public void setAddTime(String addTime){
        this.addTime = addTime;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>